/*
 * @Author: yangni 920556271@qq.com
 * @Date: 2024-03-25 17:22:02
 * @LastEditors: yangni 920556271@qq.com
 * @LastEditTime: 2024-04-18 13:52:17
 * @FilePath: /yt-devops/lib/pages/site/site_statis_data/full_screen_power_line_chart/full_screen_power_line_chart_controller.dart
 * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 */
import 'package:get/get.dart';

class FullScreenPowerLineChartController extends GetxController {
  List data = [];
  String? formatter;
  List timeList = [];
  @override
  void onInit() {
    super.onInit();
    if (Get.arguments != null) {
      if (Get.arguments['lineChart'] != null) {
        data = Get.arguments['lineChart'];
        formatter = Get.arguments['tooltipFormatter'];
        timeList = Get.arguments['xAxisList'];
      }
    }
  }

  @override
  void onReady() {}

  @override
  void onClose() {}
}
